﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class idlefall : MonoBehaviour
{
    private Animator ani;
    void Start()
    {
        ani = GetComponent<Animator>();
    }

    void Update()
    {
        if (Input.GetMouseButtonDown(0)) {
            ani.SetBool("isFall", true);
        }
        if (Input.GetMouseButtonUp(0)) {
            ani.SetBool("isFall", false);
        }
    }
}
